laravel carbon get month number

57

carbon get month from date -

$now = Carbon::now();
echo $now->year;
echo $now->month;
echo $now->weekOfYear;

Comments

Submit
0 Comments